#ifndef USER_H
#define USER_H
#include<string>
#include<iostream>
using namespace std;

class user
{
public:
    user(){};
    user(string name,int level,string phone,string address);
    user(int ID,string name,string passwd,int level,string phone,string address);
    user(int ID,string name,string passwd,int level,string phone,string address,double cost,string LoginTime,double balance);
    ~user(){};
    friend ostream& operator<<(ostream& out,user & u);
    void showSelfInformation();

    int        m_ID;
    string     m_name;
    string     m_passwd;
    int        m_level;
    string     m_phone;
    string     m_address;
    double     m_cost;
    string     m_LoginTime;
    double     m_balance;

};//class user

class VIP:public user
{

};//classs VIP
#endif